@using Rail.Net.Core.Model
@model Distance

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Distance</legend>

    <div class="display-label">TispTisp</div>
    <div class="display-field">@Model.TispTisp</div>

    <div class="display-label">Oebb</div>
    <div class="display-field">@Model.Oebb</div>

    <div class="display-label">Db</div>
    <div class="display-field">@Model.Db</div>

    <div class="display-label">Sbb</div>
    <div class="display-field">@Model.Sbb</div>

    <div class="display-label">P10</div>
    <div class="display-field">@Model.P10</div>

    <div class="display-label">P20</div>
    <div class="display-field">@Model.P20</div>

    <div class="display-label">P30</div>
    <div class="display-field">@Model.P30</div>

    <div class="display-label">P31</div>
    <div class="display-field">@Model.P31</div>

    <div class="display-label">P40</div>
    <div class="display-field">@Model.P40</div>

    <div class="display-label">P41</div>
    <div class="display-field">@Model.P41</div>

    <div class="display-label">P42</div>
    <div class="display-field">@Model.P42</div>

    <div class="display-label">P43</div>
    <div class="display-field">@Model.P43</div>

    <div class="display-label">P50</div>
    <div class="display-field">@Model.P50</div>

    <div class="display-label">P51</div>
    <div class="display-field">@Model.P51</div>

    <div class="display-label">P52</div>
    <div class="display-field">@Model.P52</div>

    <div class="display-label">P53</div>
    <div class="display-field">@Model.P53</div>

    <div class="display-label">P60</div>
    <div class="display-field">@Model.P60</div>

    <div class="display-label">P80</div>
    <div class="display-field">@Model.P80</div>

    <div class="display-label">Mav</div>
    <div class="display-field">@Model.Mav</div>

    <div class="display-label">P81</div>
    <div class="display-field">@Model.P81</div>

    <div class="display-label">Station1</div>
    <div class="display-field">@(Model.Station1 == null ? "None" : Model.Station1.Eva)</div>

    <div class="display-label">Station2</div>
    <div class="display-field">@(Model.Station2 == null ? "None" : Model.Station2.Eva)</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


